package com.group.activity.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.group.common.utils.PageUtils;
import com.group.common.utils.Query;

import com.group.activity.dao.StoreInformationDao;
import com.group.activity.entity.StoreInformationEntity;
import com.group.activity.service.StoreInformationService;


@Service("storeInformationService")
public class StoreInformationServiceImpl extends ServiceImpl<StoreInformationDao, StoreInformationEntity> implements StoreInformationService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<StoreInformationEntity> page = this.page(
                new Query<StoreInformationEntity>().getPage(params),
                new QueryWrapper<StoreInformationEntity>()
        );

        return new PageUtils(page);
    }

}